package com.codi.bus.core.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.codi.base.domain.BaseDomain;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 组合投资订单
 *
 * @author spy
 * @date 2017-11-07 13:27
 */
@NoArgsConstructor
@Data
@Accessors(chain = true)
public class PortfolioFundOrder extends BaseDomain {
    private Long id;

    private Long orderId;

    private Long userId;

    private String portfolioCode;

    private String customPortfolioCode;

    private Integer investFlag;

    private String portfolioName;

    private Integer status;

    private BigDecimal balance;

    private String communicContent;

    private String oppoFundAccount;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    private String createUserId;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedDate;

    private String lastUpdatedUserId;

    private Boolean isValid;

    private String externalApplyNo;

    private String externalUndoNo;

    private Integer deductStatus;

    private Integer taconfirrmFlag;

    private Integer sendFlag;

    private String mark;

    private String ext1;

    private String ext2;

    private Integer ext3;

    private Integer ext4;

    private static final long serialVersionUID = 1L;
}
